#include <iostream>
#include <fstream>
#include <string>

using namespace std;

int main()
{

  cout << "keep working ;)" << endl;
  string userInput;
  getline(cin, userInput);
  cout << "userInput was: " << userInput << endl;
  cout << "write the input to file 'todo'" << endl;
  
  ofstream outFile("todo", ios::app );  
  outFile << userInput << '\n';

  return 0;
  
  
}



